package com.lktx.bbfactory.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lktx.bbfactory.entiy.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.lktx.bbfactory.entiy.VO.productListVo;

@Mapper
public interface productMapper extends BaseMapper<Product> {
    IPage<productListVo> ProductWithProjectName(
            @Param("page") Page<?> page,
            @Param("projectId") Integer projectId,
            @Param("name") String name,
            @Param("type") String type,
            @Param("process") String process,
            @Param("clientUsername")String clientUsername
    );

}
